x86: blacklist new AMD CPUID bits for PV domains
authorKeir Fraser <keir@xen.org>
Wed, 26 Jan 2011 08:45:40 +0000 (08:45 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 26 Jan 2011 08:45:40 +0000 (08:45 +0000)
commit16b2a6cf7fb0585fcfd51b0f4febac3be91a91a1
treea533246bec518926d8f027703d73c5f0873abba6
parent36d7b2d453e1aebaa76844613a24bde528c68b75
x86: blacklist new AMD CPUID bits for PV domains

there are some new CPUID bits (and leaves) which Dom0 and PV domains
should not see to avoid trouble, since we don't emulate the features.
The most prominent one is a topology leaf, which contains information
specific to the physical CPU, not the virtual one. To avoid confusion
(and possibly crashes) due to a confused Dom0 scheduler simply disable
these bits.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Keir Fraser <keir@xen.org>
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/traps.c